package cn.yikaojiuguo.student.bean;

/**
 * Created by cfan_yang on 2015/12/15.
 * EventBus对应Bean
 */
public class MessageEvent {
    public final String message;
    public final MessageType messageType;

    public enum MessageType {
        DISMISS_PROGRESS_DIALOG,
        DISMISS_POPUP_WINDOW,
        SHOW_PROGRESS_DIALOG,
        REFRESH_USER_INFO,
        BUTTON_PAY_ABLE,
        REFRESH_USER_GOLD_LIST,
        REFRESH_CACHE_SIZE,
        TOP_SHOW_OR_HIDE,
        ASK_DETAIL_RFRESH,
        FINISH
    }

    public MessageEvent(MessageType messageType) {
        this.message = "";
        this.messageType = messageType;
    }

    public MessageEvent(String message, MessageType messageType) {
        this.message = message;
        this.messageType = messageType;
    }

}